CREATE TABLE [dbo].[EmailTemplate]
(
[TemplateId] [int] NOT NULL IDENTITY(1, 1),
[Subject] [nvarchar] (150) COLLATE Cyrillic_General_CI_AS NOT NULL,
[Content] [nvarchar] (max) COLLATE Cyrillic_General_CI_AS NOT NULL,
[TemplateType] [int] NOT NULL,
[CreateDate] [datetime] NOT NULL,
[LastModifiedDate] [datetime] NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[EmailTemplate] ADD CONSTRAINT [PK_EmailTemplate] PRIMARY KEY CLUSTERED  ([TemplateId]) ON [PRIMARY]
GO
